//
//  NSString+Time.h
//  GeniusHelp_OC
//
//  Created by 8b410-2 on 16/11/29.
//  Copyright © 2016年 8b410-2. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Time)

+ (NSString *)getYearMonthDayByTimeStamp:(NSTimeInterval)timeStamp;
+ (NSString *)getHoursMinuteSecondByTimeStamp:(NSTimeInterval)timeStamp;
+ (NSString *)getHoursMinuteByTimeStamp:(NSTimeInterval)timeStamp;

+ (NSString *)getYearByTimeStamp:(NSTimeInterval)timeStamp;
+ (NSString *)getMonthByTimeStamp:(NSTimeInterval)timeStamp;
+ (NSString *)getDayByTimeStamp:(NSTimeInterval)timeStamp;
+ (NSString *)getHoursByTimeStamp:(NSTimeInterval)timeStamp;
+ (NSString *)getMinuteByTimeStamp:(NSTimeInterval)timeStamp;
+ (NSString *)getSecondByTimeStamp:(NSTimeInterval)timeStamp;
@end
